﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.ComponentModel;

namespace SVNUG.Tracker.Models
{
    [MetadataType(typeof(TaskMetadata))]
    public partial class Task
    {
        [Bind(Exclude = "TaskId")]
        public class TaskMetadata
        {
            [ScaffoldColumn(false)]
            public int TaskId { get; set; }

            [Required]
            [DisplayName("Type")]
            public string TaskType { get; set; }

            [Required]
            [DisplayName("Status")]
            public string TaskStatus { get; set; }

            [Required]
            public string Name { get; set; }
        }
    }
}